//
//  Dropbox.h
//  iSeeColor
//
//  Created by Wyatt Gosling on 11/2/12.
//  Copyright (c) 2012 Wyatt Gosling. All rights reserved.
//

#import "Storage.h"
#import <DropboxSDK/DropboxSDK.h>

@class DBRestClient;

@interface Dropbox: Storage <DBRestClientDelegate>

@property (nonatomic, readonly) DBRestClient *restClient;

/*
 Description: This allocates and initializes the instance variable.
 Args: none
 Returns: DBRestClient
 Pre: n/a
 Post: n/a
 */
- (DBRestClient *)restClient;


/*
 Description: Save the image.
 Args: the image to be saved.
 Returns: none
 Pre: n/a
 Post: n/a
 */
- (void) save:(UIImage *)image;


- (void) restClient:(DBRestClient*)client uploadedFile:(NSString*)destPath from:(NSString*)srcPath metadat:(DBMetadata*)metadata;


- (void) restClient:(DBRestClient*)client uploadFileFailedWithError:(NSError*)error;


@end
